<template>
    <div class="lunbo">
          <van-swipe class="my-swipe" :autoplay="3500" indicator-color="white">
    <van-swipe-item v-for="(item , index) in ImageList" :key="index">
     <img :src="item.imgUrl" alt="">
  </van-swipe-item>
</van-swipe>
    </div>
</template>

<script>
import p1 from '@/assets/commont/p1.png'
export default {
  name: 'SweiperPage',
  data () {
    return {
      ImageList: [
        {
          id: 1,
          imgUrl: p1
        }, {
          id: 2,
          imgUrl: p1
        }, {
          id: 3,
          imgUrl: p1
        }, {
          id: 4,
          imgUrl: p1
        }
      ]
    }
  }
}
</script>

<style lang="less" scoped>
.lunbo{
  margin-top: 20vw;
      .my-swipe .van-swipe-item {
    color: #fff;
    font-size: 20px;
    text-align: center;
    // background-color: #39a9ed;
    img{
         width: 100%;
      height: 75px;
    }
  }
}
</style>
